<template>
    <el-dialog title="详情" :visible.sync="dialogVisible" width="30%" :before-close="handleClose">




    </el-dialog>
</template>
<script>
export default {
    data() {
        return {
            arrayList: {},
            dialogVisible: false
        }
    },
    methods: {
        open(item) {
            this.dialogVisible = true
            this.arrayList = item
            console.log(this.arrayList,'使用ref传递的参数');
        },
        handleClose(done) {
            this.$confirm('确认关闭？')
                .then(_ => {
                    done();
                })
                .catch(_ => { });
        },
    }

}
</script>
<style></style>